#include "trap.h"
#include "../include/branch_test.h"
   .globl main
   .set noreorder
   .text
main:
   # 所有指令均不跳转
   TEST_BEQ(0x00000001, 0x00000002)
   TEST_BNE(0x00000001, 0x00000001)
   TEST_BGEZ(-1)
   TEST_BGTZ(0)

   TEST_BLEZ(1)
   TEST_BLTZ(0)
   TEST_BGEZAL(-1)
   TEST_BLTZAL(0)

   j success

inst_error:
   HIT_BAD_TRAP

success:
   HIT_GOOD_TRAP
